package kr.hkit.powerjava.chaper04;

import java.util.Scanner;

public class Mile {

	public static void main(String[] args) {
	
		double onemile = 1.609;
		int mile;
		double count;
		
		Scanner input=new Scanner(System.in);
		System.out.print("마일을 입력하시오:");
		
		mile = input.nextInt();
		
		count = mile * onemile;
		
		System.out.print(mile+ "마일은" + count + "킬로미터입니다.");
		
	}
}
